package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class FeignTransferMarketValueAccountRequest {

    @ApiModelProperty(value = "daoId")
    @NotNull(message = "daoId不能为空")
    private Long daoId;

    @ApiModelProperty(value = "市值id")
    @NotNull(message = "市值id不能为空")
    private Long userId;

    @ApiModelProperty(value = "转账金额")
    @NotNull(message = "转账金额不能为空")
    @DecimalMin(value = "100.00", message = "转账金额不能小于100.00")
    private BigDecimal transferAmount;
}
